import React from 'react';
import { render } from 'react-dom';
import { Router, Route, IndexRoute } from 'react-router';

import MainView from './MainView.jsx';

import history from '../common/history.es6';

render(
  (
    <Router history={ history }>
      <Route path="/" component={MainView} />
    </Router>
  )
  , document.getElementById('root'));
